<?php
/**
 * Created by PhpStorm.
 * User: sks
 * Date: 2016/7/20
 * Time: 15:12
 */
use app\assets\AppAsset;
//    AppAsset::addCss($this, 'test/css/ace-ie.min.css');
//    AppAsset::addScript($this, 'test/js/ace-extra.min.js');
//    AppAsset::addScript($this, 'test/js/html5shiv.js');
//    AppAsset::addScript($this, 'test/js/respond.min.js');
//    AppAsset::addCss($this, 'test/css/ace-skins.min.css');
//    AppAsset::addCss($this, 'test/css/ace-rtl.min.css');
//    AppAsset::addCss($this, 'test/css/ace.min.css');
//    AppAsset::addCss($this, 'test/css/ace.min.css');
//    AppAsset::addCss($this, 'test/css/ace-rtl.min.css');
//    AppAsset::addCss($this, 'test/css/ace-skins.min.css');
//    AppAsset::addCss($this, 'test/css/ace-ie.min.css');
?>
<style>
    td{
        border: 1px solid #000000;
    }
</style>
<table >
    <?php foreach($model as $k=>$v){
        echo "<tr>";
        echo "<td>".$v['id']."</td>";
        echo "<td>".$v['title']."</td>";
        echo "<td><a href='words?s=".$v['id']."'>查看</a></td>";
        echo "</tr>";
    }
?>

</table>
